package com.sparrow.example_message.map.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "玩家跳跃")
@Packet(msgId = PacketId.Scene.RESP_JUM)
public class RespJumpPacket {
    /**
     * 玩家id
     */
    private long playerId;
    /**
     * 角度(欧拉角度)
     */
    private int angle;
    /**
     * 平面 水平
     */
    private int x;
    /**
     * 高
     */
    private int y;
    /**
     * 平面 纵
     */
    private int z;

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getZ() {
        return z;
    }

    public void setZ(int z) {
        this.z = z;
    }

    public void setAngle(int angle) {
        this.angle = angle;
    }

    public int getAngle() {
        return angle;
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }
}
